﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Interface IMediaSourceManager
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Interface IMediaSourceManager
   ">
    <meta name="generator" content="docfx 2.59.2.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <link rel="stylesheet" href="../../styles/socialbar.css">
    <link rel="stylesheet" href="../../styles/header.css">
    <link rel="stylesheet" href="../../styles/version.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,100italic,300italic,400italic" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="../toc.html">
    <meta property="docfx:uid" content="MediaBrowser.Controller.Library.IMediaSourceManager">
    
    <meta property="docfx:rel" content="../../">
    
    <script type="text/javascript" src="../../nav.js"></script>
    <script type="text/javascript" src="../toc.js"></script>
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <div class="mb-socials-heading" style="height: 40px;">
        	<div class="mb-socials-heading-inner container">
        		<div class="mb-socials-heading-right">
        			<div class="mb-socials-list">
                          
        				<div class="mb-socials-item facebook">
        					<a class="mb-socials-item-link" target="_blank" href="https://facebook.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Facebook</span>
        					</div>
        				</div><div class="mb-socials-item twitter">
        					<a class="mb-socials-item-link" target="_blank" href="https://twitter.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Twitter</span>
        					</div>
        				</div>
        				<div class="mb-socials-item pinterest">
        					<a class="mb-socials-item-link" target="_blank" href="https://www.pinterest.com/emby0240/emby-news/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Pinterest</span>
        					</div>
        				</div>
        				<div class="mb-socials-item tumblr">
        					<a class="mb-socials-item-link" target="_blank" href="https://embyapp.tumblr.com/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Tumblr</span>
        					</div>
        				</div>
        				<div class="mb-socials-item github">
        					<a class="mb-socials-item-link" target="_blank" href="https://github.com/MediaBrowser"></a>
        					<div class="mb-socials-item-popup">
        						<span>GitHub</span>
        					</div>
        				</div><div class="mb-socials-item rss">
        					<a class="mb-socials-item-link" target="_blank" href="https://emby.media/blog.xml"></a>
        					<div class="mb-socials-item-popup">
        						<span>RSS</span>
        					</div>
        				</div>
                          
        			</div>
        		</div>
        	</div>
        </div>
        <div class="container">
        	<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
        		  
        		  <a class="navbar-brand" href="../../index.html">
        		    <img id="logo" class="svg" src="../../images/emby_dev_logo.png" alt="">
        		  </a>
        		  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        			<span class="sr-only">Toggle navigation</span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        		  </button>
        		<div class="collapse navbar-collapse" id="navbar">
        			
        			<ul class="nav level1 navbar-nav">
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../index.html" title="DEV Home">DEV Home</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../doc/index.html" title="Documentation">Documentation</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../reference/index.html" title="Reference">Reference</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../download/index.html" title="Download">Download</a>
        			      </li>
        			</ul>		</div>
        	</nav>
        </div>
        <div class="nav-overlay d-none"></div>        
        <div class="subnav navbar navbar-default">
          <div class="container">
            <div class="hide-when-search" id="breadcrumb">
        	  <ul class="breadcrumb">
        		<li></li>
        	  </ul>
        	</div>
        
        	<div class="breadcrumpsearch">
        	  <form class="navbar-form navbar-right" role="search" id="search">
        		<div class="form-group">
        		  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
        		</div>
        	  </form>
        	</div>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list">Search Results for <span></span></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager">
<div class="refdoc">
  
  
  <h1 id="MediaBrowser_Controller_Library_IMediaSourceManager" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager" class="text-break">Interface IMediaSourceManager
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="MediaBrowser.Controller.Library.html">MediaBrowser.Controller.Library</a></h6>
  <h6><strong>Assembly</strong>: MediaBrowser.Controller.dll</h6>
  <h5 id="MediaBrowser_Controller_Library_IMediaSourceManager_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IMediaSourceManager</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_AddMediaInfoWithProbe_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddMediaInfoWithProbe*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_AddMediaInfoWithProbe_MediaBrowser_Model_Dto_MediaSourceInfo_System_Boolean_System_Boolean_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddMediaInfoWithProbe(MediaBrowser.Model.Dto.MediaSourceInfo,System.Boolean,System.Boolean,System.Threading.CancellationToken)">AddMediaInfoWithProbe(MediaSourceInfo, Boolean, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task AddMediaInfoWithProbe(MediaSourceInfo mediaSource, bool isAudio, bool addProbeDelay, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a></td>
        <td><span class="parametername">mediaSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">isAudio</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">addProbeDelay</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_AddMediaInfoWithProbeSafe_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddMediaInfoWithProbeSafe*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_AddMediaInfoWithProbeSafe_MediaBrowser_Model_Dto_MediaSourceInfo_System_Boolean_System_Boolean_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddMediaInfoWithProbeSafe(MediaBrowser.Model.Dto.MediaSourceInfo,System.Boolean,System.Boolean,System.Threading.CancellationToken)">AddMediaInfoWithProbeSafe(MediaSourceInfo, Boolean, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task AddMediaInfoWithProbeSafe(MediaSourceInfo mediaSource, bool isAudio, bool addProbeDelay, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a></td>
        <td><span class="parametername">mediaSource</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">isAudio</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">addProbeDelay</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_AddParts_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddParts*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_AddParts_System_Collections_Generic_IEnumerable_MediaBrowser_Controller_Library_IMediaSourceProvider__" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.AddParts(System.Collections.Generic.IEnumerable{MediaBrowser.Controller.Library.IMediaSourceProvider})">AddParts(IEnumerable&lt;IMediaSourceProvider&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds the parts.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void AddParts(IEnumerable&lt;IMediaSourceProvider&gt; providers)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="MediaBrowser.Controller.Library.IMediaSourceProvider.html">IMediaSourceProvider</a>&gt;</td>
        <td><span class="parametername">providers</span></td>
        <td><p>The providers.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_CloseLiveStream_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.CloseLiveStream*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_CloseLiveStream_System_String_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.CloseLiveStream(System.String)">CloseLiveStream(String)</h4>
  <div class="markdown level1 summary"><p>Closes the media source.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task CloseLiveStream(string id)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">id</span></td>
        <td><p>The live stream identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamInfo_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamInfo*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamInfo_System_String_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamInfo(System.String)">GetLiveStreamInfo(String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">ILiveStream GetLiveStreamInfo(string id)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">id</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Library.ILiveStream.html">ILiveStream</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamInfoByUniqueId_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamInfoByUniqueId*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamInfoByUniqueId_System_String_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamInfoByUniqueId(System.String)">GetLiveStreamInfoByUniqueId(String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">ILiveStream GetLiveStreamInfoByUniqueId(string uniqueId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">uniqueId</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Library.ILiveStream.html">ILiveStream</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamMediaSource_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamMediaSource*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetLiveStreamMediaSource_System_String_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetLiveStreamMediaSource(System.String)">GetLiveStreamMediaSource(String)</h4>
  <div class="markdown level1 summary"><p>Gets the live stream.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">MediaSourceInfo GetLiveStreamMediaSource(string id)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">id</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaSource_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaSource*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaSource_MediaBrowser_Controller_Entities_BaseItem_System_String_System_String_System_Boolean_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaSource(MediaBrowser.Controller.Entities.BaseItem,System.String,System.String,System.Boolean,System.Threading.CancellationToken)">GetMediaSource(BaseItem, String, String, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Gets the static media source.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;MediaSourceInfo&gt; GetMediaSource(BaseItem item, string mediaSourceId, string liveStreamId, bool enablePathSubstitution, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">mediaSourceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">liveStreamId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_MediaBrowser_Controller_Entities_BaseItem_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams(MediaBrowser.Controller.Entities.BaseItem)">GetMediaStreams(BaseItem)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">List&lt;MediaStream&gt; GetMediaStreams(BaseItem item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Entities.MediaStream.html">MediaStream</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_MediaBrowser_Controller_Persistence_MediaStreamQuery_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams(MediaBrowser.Controller.Persistence.MediaStreamQuery)">GetMediaStreams(MediaStreamQuery)</h4>
  <div class="markdown level1 summary"><p>Gets the media streams.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">List&lt;MediaStream&gt; GetMediaStreams(MediaStreamQuery query)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Persistence.MediaStreamQuery.html">MediaStreamQuery</a></td>
        <td><span class="parametername">query</span></td>
        <td><p>The query.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Entities.MediaStream.html">MediaStream</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetMediaStreams_System_Int64_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetMediaStreams(System.Int64)">GetMediaStreams(Int64)</h4>
  <div class="markdown level1 summary"><p>Gets the media streams.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">List&lt;MediaStream&gt; GetMediaStreams(long itemId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">itemId</span></td>
        <td><p>The item identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Entities.MediaStream.html">MediaStream</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPathProtocol_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPathProtocol*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPathProtocol_System_ReadOnlySpan_System_Char__" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPathProtocol(System.ReadOnlySpan{System.Char})">GetPathProtocol(ReadOnlySpan&lt;Char&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">MediaProtocol GetPathProtocol(ReadOnlySpan&lt;char&gt; path)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.readonlyspan-1">ReadOnlySpan</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">Char</a>&gt;</td>
        <td><span class="parametername">path</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.MediaInfo.MediaProtocol.html">MediaProtocol</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_MediaBrowser_Controller_Entities_BaseItem_MediaBrowser_Controller_Entities_User_System_Boolean_System_Boolean_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources(MediaBrowser.Controller.Entities.BaseItem,MediaBrowser.Controller.Entities.User,System.Boolean,System.Boolean,System.Threading.CancellationToken)">GetPlayackMediaSources(BaseItem, User, Boolean, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;List&lt;MediaSourceInfo&gt;&gt; GetPlayackMediaSources(BaseItem item, User user, bool allowMediaProbe, bool enablePathSubstitution, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">allowMediaProbe</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_MediaBrowser_Controller_Entities_BaseItem_MediaBrowser_Controller_Entities_User_System_Boolean_System_String_System_Boolean_MediaBrowser_Model_Dlna_DeviceProfile_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources(MediaBrowser.Controller.Entities.BaseItem,MediaBrowser.Controller.Entities.User,System.Boolean,System.String,System.Boolean,MediaBrowser.Model.Dlna.DeviceProfile,System.Threading.CancellationToken)">GetPlayackMediaSources(BaseItem, User, Boolean, String, Boolean, DeviceProfile, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;List&lt;MediaSourceInfo&gt;&gt; GetPlayackMediaSources(BaseItem item, User user, bool allowMediaProbe, string probeMediaSourceId, bool enablePathSubstitution, DeviceProfile deviceProfile, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">allowMediaProbe</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">probeMediaSourceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dlna.DeviceProfile.html">DeviceProfile</a></td>
        <td><span class="parametername">deviceProfile</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetPlayackMediaSources_MediaBrowser_Controller_Entities_BaseItem_MediaBrowser_Controller_Entities_User_System_Boolean_System_String_System_Boolean_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetPlayackMediaSources(MediaBrowser.Controller.Entities.BaseItem,MediaBrowser.Controller.Entities.User,System.Boolean,System.String,System.Boolean,System.Threading.CancellationToken)">GetPlayackMediaSources(BaseItem, User, Boolean, String, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;List&lt;MediaSourceInfo&gt;&gt; GetPlayackMediaSources(BaseItem item, User user, bool allowMediaProbe, string probeMediaSourceId, bool enablePathSubstitution, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">allowMediaProbe</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">probeMediaSourceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetStaticMediaSources_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetStaticMediaSources*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetStaticMediaSources_MediaBrowser_Controller_Entities_BaseItem_System_Boolean_MediaBrowser_Model_Dlna_DeviceProfile_MediaBrowser_Controller_Entities_User_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetStaticMediaSources(MediaBrowser.Controller.Entities.BaseItem,System.Boolean,MediaBrowser.Model.Dlna.DeviceProfile,MediaBrowser.Controller.Entities.User)">GetStaticMediaSources(BaseItem, Boolean, DeviceProfile, User)</h4>
  <div class="markdown level1 summary"><p>Gets the static media sources.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">List&lt;MediaSourceInfo&gt; GetStaticMediaSources(BaseItem item, bool enablePathSubstitution, DeviceProfile deviceProfile, User user = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dlna.DeviceProfile.html">DeviceProfile</a></td>
        <td><span class="parametername">deviceProfile</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_GetStaticMediaSources_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetStaticMediaSources*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_GetStaticMediaSources_MediaBrowser_Controller_Entities_BaseItem_System_Boolean_System_Boolean_MediaBrowser_Model_Configuration_LibraryOptions_MediaBrowser_Model_Dlna_DeviceProfile_MediaBrowser_Controller_Entities_User_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.GetStaticMediaSources(MediaBrowser.Controller.Entities.BaseItem,System.Boolean,System.Boolean,MediaBrowser.Model.Configuration.LibraryOptions,MediaBrowser.Model.Dlna.DeviceProfile,MediaBrowser.Controller.Entities.User)">GetStaticMediaSources(BaseItem, Boolean, Boolean, LibraryOptions, DeviceProfile, User)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">List&lt;MediaSourceInfo&gt; GetStaticMediaSources(BaseItem item, bool enableAlternateMediaSources, bool enablePathSubstitution, LibraryOptions libraryOptions, DeviceProfile deviceProfile, User user = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enableAlternateMediaSources</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">enablePathSubstitution</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Configuration.LibraryOptions.html">LibraryOptions</a></td>
        <td><span class="parametername">libraryOptions</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dlna.DeviceProfile.html">DeviceProfile</a></td>
        <td><span class="parametername">deviceProfile</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_NormalizeMediaStreams_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.NormalizeMediaStreams*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_NormalizeMediaStreams_System_Collections_Generic_List_MediaBrowser_Model_Entities_MediaStream__" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.NormalizeMediaStreams(System.Collections.Generic.List{MediaBrowser.Model.Entities.MediaStream})">NormalizeMediaStreams(List&lt;MediaStream&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void NormalizeMediaStreams(List&lt;MediaStream&gt; streams)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="MediaBrowser.Model.Entities.MediaStream.html">MediaStream</a>&gt;</td>
        <td><span class="parametername">streams</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_OpenLiveStream_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.OpenLiveStream*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_OpenLiveStream_MediaBrowser_Model_MediaInfo_LiveStreamRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.OpenLiveStream(MediaBrowser.Model.MediaInfo.LiveStreamRequest,System.Threading.CancellationToken)">OpenLiveStream(LiveStreamRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Opens the media source.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;LiveStreamResponse&gt; OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.MediaInfo.LiveStreamRequest.html">LiveStreamRequest</a></td>
        <td><span class="parametername">request</span></td>
        <td><p>The request.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="MediaBrowser.Model.MediaInfo.LiveStreamResponse.html">LiveStreamResponse</a>&gt;</td>
        <td><p>Task&lt;MediaSourceInfo&gt;.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_OpenLiveStreamInternal_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.OpenLiveStreamInternal*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_OpenLiveStreamInternal_MediaBrowser_Model_MediaInfo_LiveStreamRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.OpenLiveStreamInternal(MediaBrowser.Model.MediaInfo.LiveStreamRequest,System.Threading.CancellationToken)">OpenLiveStreamInternal(LiveStreamRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;Tuple&lt;LiveStreamResponse, ILiveStream&gt;&gt; OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.MediaInfo.LiveStreamRequest.html">LiveStreamRequest</a></td>
        <td><span class="parametername">request</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.tuple-2">Tuple</a>&lt;<a class="xref" href="MediaBrowser.Model.MediaInfo.LiveStreamResponse.html">LiveStreamResponse</a>, <a class="xref" href="MediaBrowser.Controller.Library.ILiveStream.html">ILiveStream</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_SetDefaultAudioAndSubtitleStreamIndexes_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.SetDefaultAudioAndSubtitleStreamIndexes*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_SetDefaultAudioAndSubtitleStreamIndexes_MediaBrowser_Controller_Entities_BaseItem_MediaBrowser_Model_Dto_MediaSourceInfo___MediaBrowser_Controller_Entities_User_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.SetDefaultAudioAndSubtitleStreamIndexes(MediaBrowser.Controller.Entities.BaseItem,MediaBrowser.Model.Dto.MediaSourceInfo[],MediaBrowser.Controller.Entities.User)">SetDefaultAudioAndSubtitleStreamIndexes(BaseItem, MediaSourceInfo[], User)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void SetDefaultAudioAndSubtitleStreamIndexes(BaseItem item, MediaSourceInfo[] sources, User user)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.BaseItem.html">BaseItem</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dto.MediaSourceInfo.html">MediaSourceInfo</a>[]</td>
        <td><span class="parametername">sources</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Library_IMediaSourceManager_SupportsDirectStream_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.SupportsDirectStream*"></a>
  <h4 id="MediaBrowser_Controller_Library_IMediaSourceManager_SupportsDirectStream_System_ReadOnlySpan_System_Char__MediaBrowser_Model_MediaInfo_MediaProtocol_" data-uid="MediaBrowser.Controller.Library.IMediaSourceManager.SupportsDirectStream(System.ReadOnlySpan{System.Char},MediaBrowser.Model.MediaInfo.MediaProtocol)">SupportsDirectStream(ReadOnlySpan&lt;Char&gt;, MediaProtocol)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool SupportsDirectStream(ReadOnlySpan&lt;char&gt; path, MediaProtocol protocol)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.readonlyspan-1">ReadOnlySpan</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">Char</a>&gt;</td>
        <td><span class="parametername">path</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.MediaInfo.MediaProtocol.html">MediaProtocol</a></td>
        <td><span class="parametername">protocol</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="Emby.Media.Common.Extensions.Extensions.html#Emby_Media_Common_Extensions_Extensions_JsonClone__1___0_MediaBrowser_Model_Serialization_IJsonSerializer_">Extensions.JsonClone&lt;T&gt;(T, IJsonSerializer)</a>
  </div>
</div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <div class="sdkversion Release">
                  SDK <span class="sdkVersionSpan"></span>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>On this Page</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to Top</a>
            </span>
            Copyright 2022 © EMBY LLC.  Please see our <a class="lnk" href="https://emby.media/terms.html">terms of use</a> and <a class="lnk" href="https://emby.media/privacy.html">privacy policy</a>.
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../searchIndex.js"></script>
    <script type="text/javascript" src="../../styles/lunr.min.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
